//package com.info.zhiduoduo.admin.controller;
//
//import com.info.zhiduoduo.admin.service.OddJobService;
//import com.info.zhiduoduo.common.constants.SmartResult;
//import com.info.zhiduoduo.common.formbean.BaseSimpleFormBean;
//import com.info.zhiduoduo.repository.dto.crowdsource.OddJobMerchantFlowQueryDto;
//import com.info.zhiduoduo.repository.dto.crowdsource.OddJobRechargeRecordAddDto;
//import com.info.zhiduoduo.repository.dto.crowdsource.OddJobRechargeRecordQueryDto;
//import com.info.zhiduoduo.repository.dto.crowdsource.OddJobRechargeRecordUpdateDto;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//import org.springframework.web.bind.annotation.*;
//
//import javax.annotation.Resource;
//import javax.servlet.http.HttpServletResponse;
//
///**
// * @author tianyonghong
// * @create 2023/2/23
// */
//@RestController
//@RequestMapping("/oddJob")
//@Api(tags = "智零工相关接口")
//public class OddJobController {
//
//    @Resource
//    OddJobService oddJobService;
//
//    @ApiOperation("新增或修改充值申请")
//    @PostMapping("/addOrUpdateRechargeRecord")
//    public SmartResult addOrUpdateRechargeRecord(@RequestBody BaseSimpleFormBean<OddJobRechargeRecordAddDto> formBean) {
//        return oddJobService.addOrUpdateOddJobRechargeRecord(formBean);
//    }
//
//    @ApiOperation("完成充值记录")
//    @PostMapping("/completeRechargeRecord")
//    public SmartResult completOddJobRechargeRecord(@RequestBody BaseSimpleFormBean<OddJobRechargeRecordUpdateDto> formBean) {
//        return oddJobService.completeOddJobRechargeRecord(formBean);
//    }
//
//    @ApiOperation("查询充值记录列表")
//    @PostMapping("/queryRechargeRecordList")
//    public SmartResult queryOddJobRechargeRecordList(@RequestBody BaseSimpleFormBean<OddJobRechargeRecordQueryDto> formBean) {
//        return oddJobService.queryOddJobRechargeRecordList(formBean);
//    }
//    @ApiOperation("删除充值记录")
//    @PostMapping("/delRechargeRecord")
//    public SmartResult delOddJobRechargeRecord(@RequestBody BaseSimpleFormBean<OddJobRechargeRecordQueryDto> formBean) {
//        return oddJobService.delOddJobRechargeRecord(formBean);
//    }
//
//    @ApiOperation("查询商户列表")
//    @PostMapping("/queryMerchantList")
//    public SmartResult queryOddJobMerchantList(@RequestBody BaseSimpleFormBean formBean) {
//        return oddJobService.queryOddJobMerchantList(formBean);
//    }
//
//    @ApiOperation("查询商户流水列表")
//    @PostMapping("/queryMerchantFlowList")
//    public SmartResult queryOddJobMerchantFlowList(@RequestBody BaseSimpleFormBean<OddJobMerchantFlowQueryDto> formBean) {
//        return oddJobService.queryOddJobMerchantFlowList(formBean);
//    }
//
//    //智零工业务，在admin端加两个导出接口，按项目id导出
//    @ApiOperation("导出Q模板-智零工批量上传用户名单")
//    @GetMapping("/exportQTemplateUser")
//    public void exportQTemplateUser(HttpServletResponse response, @ApiParam("项目ID") Integer projectId) {
//        oddJobService.exportQTemplateUser(response, projectId);
//    }
//
//    //智零工业务，在admin端加两个导出接口，按项目id导出
//    @ApiOperation("导出Q模板-智零工批量任务众包名单")
//    @GetMapping("/exportQTemplateTask")
//    public void exportQTemplateTask(HttpServletResponse response, @ApiParam("项目ID")Integer projectId) {
//        oddJobService.exportQTemplateTask(response, projectId);
//    }
//
//}
